(display-message-or-buffer): Fix last change.
authorAndreas Schwab <schwab@suse.de>
Sat, 29 Jun 2002 18:12:54 +0000 (18:12 +0000)
committerAndreas Schwab <schwab@suse.de>
Sat, 29 Jun 2002 18:12:54 +0000 (18:12 +0000)
lisp/simple.el

index 0b91abb8ecbc2b675fc5266a4ba2700313e1c449..416b6934f5ef19bea307a97ff1e3c34c84258806 100644 (file)
@@ -1348,7 +1348,7 @@ and only used if a buffer is displayed."
                                   1)))
                         ;; Don't use the echo area if the output buffer is
                         ;; already dispayed in the selected frame.
-                        (not (get-buffer-window buffer)))
+                        (not (get-buffer-window (current-buffer))))
                    ;; Echo area
                    (goto-char (point-max))
                    (when (bolp)